package com.ruoyi.modules.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 次数记录对象 num_record
 *
 * @author ruoyi
 * @date 2022-02-03
 */
@Data
@TableName("num_record")
@Accessors(chain = true)
@ApiModel(value = " num_record对象", description = "次数记录对象")
public class NumRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /** 创建时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd  HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /** 代理用户id */
    @Excel(name = "代理用户id")
    @ApiModelProperty(value = "代理用户id")
    private Long agentUserId;

    /** 0收入； 1支出； */
    @Excel(name = "0收入； 1支出；")
    @ApiModelProperty(value = "0收入； 1支出；")
    private Integer payType;

    /** 描述信息 */
    @Excel(name = "描述信息")
    @ApiModelProperty(value = "描述信息")
    private String msg;

    /** 次数 */
    @Excel(name = "次数")
    @ApiModelProperty(value = "次数")
    private Long num;




}
